package cn.sumpu.app.guoguojie.biz;

import java.util.List;

import cn.sumpu.app.guoguojie.domain.Family;
import cn.sumpu.app.guoguojie.domain.Member;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface FamilyBiz {
	public String register(Family family, Member member)
			throws AppBusinessException;

	public Family getFamilyByDoor(String doorplate) throws AppBusinessException;

	public void updateFamily(Family family) throws AppBusinessException;

	public Member register(String basePath, Family family, Member member,
			List<Member> babyList) throws AppBusinessException;

	public boolean activeMember(String memberId, String activeCode)
			throws AppBusinessException;
	
	//通过会员编号查询得到家的信息
	public Family getFamilyByMember(String member)throws AppBusinessException;
	
}
